<?php

/**
 * @author igo
 * @date 22/Out/2011 * 20:41:49
 */
include "conf.php";

echo "<head>";
echo "<link rel=\"stylesheet\" type=\"text/css\" media=\"print\" href=\"estilo.css\" />";
echo "</head>";

echo "<center><table border=\"1\">";

if($page == "home"){
    echo "<tr><td align=\"center\"><a href=\"resumo.php\">Resumo</a></td></tr>";
    echo "<tr><td align=\"center\"><a href=\"despesas.php\">Despesas</a></td></tr>";
    echo "<tr><td align=\"center\"><a href=\"receitas.php\">Receitas</a></td></tr>";
    echo "<tr><td align=\"center\"><a href=\"configuracao.php\">Configuração</a></td></tr>";
    
}else if($page == "configuracao"){
    echo "<tr><td align=\"center\"><a href=\"configuracao/addconta.php\">Adicionar Conta</a></td></tr>";
    echo "<tr><td align=\"center\"><a href=\"configuracao/editconta.php\">Editar Conta</a></td></tr>";
    echo "<tr><td align=\"center\"><a href=\"home.php\">Voltar</a></td></tr>";
}

echo "</table></center>";

?>